/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Dominio.Articulo;

/**
 *
 * @author MARIU
 */
public class ArticuloSimple extends Articulo {

    private int StockMinimo;
    private int Stock;

    public int getStock() {
        return Stock;
    }

    public void setStock(int Stock) {
        this.Stock = Stock;
    }

    public int getStockMinimo() {
        return StockMinimo;
    }

    public void setStockMinimo(int StockMinimo) {
        this.StockMinimo = StockMinimo;
    }

    public ArticuloSimple(int codigo, String nombre, String descripcion, String medida, int StockMinimo, int Stock) {
        super(codigo, nombre, descripcion, medida);
        this.StockMinimo = StockMinimo;
        this.Stock = Stock;
    }

    @Override
    public String toString() {
        return super.toString()+"Stock Minimo" + this.StockMinimo + "Stock" + this.Stock;
    }

    @Override
    public int devolverStock() {
        throw new UnsupportedOperationException("Not supported yet.");
    }



  


}
